package com.example.service.impl;

import com.example.entity.Cos;
import com.example.mapper.CosMapper;
import com.example.service.ICosService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dengc
 * @since 2023-05-10
 */
@Service
public class CosServiceImpl extends ServiceImpl<CosMapper, Cos> implements ICosService {
    @Resource
    private CosMapper cosMapper;
    @Override
    public List<Cos> getCosCount() {
        return cosMapper.getCosCount();
    }
}
